package com.ruoyi.iot.hikvision.ys;

import java.util.List;

public class YsDeviceFileResponse {
    private String code;
    private String msg;
    private List<DeviceFile> data;
    public static class DeviceFile {
        private Integer recType;//	int	回放源，0-系统自动选择，1-云存储，2-本地录像
        private Long startTime;//	long	文件开始时间
        private Long endTime;//	long	文件结束时间
        private String deviceSerial;//	String	设备序列号
        private Integer channelNo;//	int	设备通道号
        private String localType;//	String	文件类型 0:ALARM 1:TIMING 2:IO */
        private String channelType;//	String	该字段已废弃
        private String id;//	long	云存储信息主键ID
        private String fileId;//	string	文件ID
        private String ownerId;//	string	文件所属用户ID
        private Integer fileType;//	int	文件类型0：目录1：视频文件2：图片文件3：音频文件
        private String fileName;//	String	文件名称
        private Integer cloudType;//	int	该字段已废弃
        private String fileIndex;//	string	文件在云存储上的唯一索引
        private Long fileSize;//	long	文件大小，单位B
        private Integer locked;//	int	是否被锁定。1-锁定；0-未锁定
        private Long createTime;//	long	创建时间
        private Integer crypt;//	int	是否加密0--不加1--加密
        private String keyChecksum;//	String	验证码MD5值
        private Long videoLong;//	long	录像长度
        private String coverPic;//	String	封面图片地址
        private String downloadPath;//	String	该字段会出现在云存储录像查询中，不可用于下载录像（如需保存录像，可以使用UIkit或SDK中的录制功能）
        private Integer type;//	int	该字段已废弃

        public Integer getRecType() {
            return recType;
        }

        public void setRecType(Integer recType) {
            this.recType = recType;
        }

        public Long getStartTime() {
            return startTime;
        }

        public void setStartTime(Long startTime) {
            this.startTime = startTime;
        }

        public Long getEndTime() {
            return endTime;
        }

        public void setEndTime(Long endTime) {
            this.endTime = endTime;
        }

        public String getDeviceSerial() {
            return deviceSerial;
        }

        public void setDeviceSerial(String deviceSerial) {
            this.deviceSerial = deviceSerial;
        }

        public Integer getChannelNo() {
            return channelNo;
        }

        public void setChannelNo(Integer channelNo) {
            this.channelNo = channelNo;
        }

        public String getLocalType() {
            return localType;
        }

        public void setLocalType(String localType) {
            this.localType = localType;
        }

        public String getChannelType() {
            return channelType;
        }

        public void setChannelType(String channelType) {
            this.channelType = channelType;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFileId() {
            return fileId;
        }

        public void setFileId(String fileId) {
            this.fileId = fileId;
        }

        public String getOwnerId() {
            return ownerId;
        }

        public void setOwnerId(String ownerId) {
            this.ownerId = ownerId;
        }

        public Integer getFileType() {
            return fileType;
        }

        public void setFileType(Integer fileType) {
            this.fileType = fileType;
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        public Integer getCloudType() {
            return cloudType;
        }

        public void setCloudType(Integer cloudType) {
            this.cloudType = cloudType;
        }

        public String getFileIndex() {
            return fileIndex;
        }

        public void setFileIndex(String fileIndex) {
            this.fileIndex = fileIndex;
        }

        public Long getFileSize() {
            return fileSize;
        }

        public void setFileSize(Long fileSize) {
            this.fileSize = fileSize;
        }

        public Integer getLocked() {
            return locked;
        }

        public void setLocked(Integer locked) {
            this.locked = locked;
        }

        public Long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Long createTime) {
            this.createTime = createTime;
        }

        public Integer getCrypt() {
            return crypt;
        }

        public void setCrypt(Integer crypt) {
            this.crypt = crypt;
        }

        public String getKeyChecksum() {
            return keyChecksum;
        }

        public void setKeyChecksum(String keyChecksum) {
            this.keyChecksum = keyChecksum;
        }

        public Long getVideoLong() {
            return videoLong;
        }

        public void setVideoLong(Long videoLong) {
            this.videoLong = videoLong;
        }

        public String getCoverPic() {
            return coverPic;
        }

        public void setCoverPic(String coverPic) {
            this.coverPic = coverPic;
        }

        public String getDownloadPath() {
            return downloadPath;
        }

        public void setDownloadPath(String downloadPath) {
            this.downloadPath = downloadPath;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DeviceFile> getData() {
        return data;
    }

    public void setData(List<DeviceFile> data) {
        this.data = data;
    }
}
